<#include "/include/module_version.ftl">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>员工管理</title>
<script type="text/javascript" src="${base}/resources/js/lib/jquery.1.11.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	
});
</script>
</head>
<body>
	<#if deptId??>
  	<a href="${base}/admin/employee/add?deptId=${deptId}">添加员工</a>
  	</#if>
  <table border="1">
  	<tr>
  		<td>操作</td>
  		<td>部门</td>
  		<td>员工名称</td>
  		<td>职位</td>
  		<td>工号</td>
  	</tr>
  	<#list result.result as employee>
  	<tr>
  		<td></td>
  		<td>${employee.deptName}</td>
  		<td>${employee.base.name}</td>
  		<td>${employee.base.position}</td>
  		<td>${employee.base.workNumber}</td>
  	</tr>
  	</#list>
  </table>
</body>
</html>